= simple_form_for(@user, html: {remote: true}) do |f|
  table.table.table-borderless
    tr
      th= f.label :name
      td= f.input_field :name, class: 'form-control normal-input', disabled: 'disabled'
    tr
      th= f.label :login
      td= f.input_field :login, class: 'form-control normal-input', disabled: 'disabled'
    tr
      th= f.label :active
      td= boolean_icon @user.active
    tr
      th= f.label :uid
      td= f.input_field :uid, class: 'form-control normal-input', disabled: 'disabled'
    tr
      th= f.label :school_id
      td= f.input_field :school_id, collection: School.options_for_select,
              class: 'form-control normal-input', inlucde_blank: true
    tr
      th= f.label :trainee_title_id
      td= f.input_field :trainee_title_id, collection: Trainee::Title.options_for_select,
              class: 'form-control normal-input', include_blank: true
    tr
      th= f.label :role_type
      td= f.input_field :role_type, class: 'form-control normal-input'
    tr
      td colspan=2
        .pull-right
          = f.button :submit, class: 'btn btn-primary'
